package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 服务模块配置对象 ecard_serve_module_config
 *
 * @author JHON
 * @date 2022-06-23
 */
public class EcardServeModuleConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 模块ID */
    private Long moduleId;

    /** 法人机构 */
    @Excel(name = "法人机构")
    private Long deptId;

    /** 法人机构名称 */
    @Excel(name = "法人机构名称")
    private String deptName;

    /** 模块名称 */
    @Excel(name = "模块名称")
    private String moduleName;

    /** 模块LOGO */
    @Excel(name = "模块LOGO")
    private String moduleLogo;

    /** 模块状态            0-停用            1-启用 */
    @Excel(name = "模块状态            0-停用            1-启用")
    private String moduleSts;

    /**服务模块内容 */
    private List<EcardServeModuleFunction> serveList ;

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public Long getModuleId() {
        return moduleId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleLogo(String moduleLogo) {
        this.moduleLogo = moduleLogo;
    }

    public String getModuleLogo() {
        return moduleLogo;
    }

    public void setModuleSts(String moduleSts) {
        this.moduleSts = moduleSts;
    }

    public String getModuleSts() {
        return moduleSts;
    }

    public List<EcardServeModuleFunction> getServeList() {
        return serveList;
    }

    public void setServeList(List<EcardServeModuleFunction> serveList) {
        this.serveList = serveList;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("moduleId", getModuleId())
                .append("deptId", getDeptId())
                .append("moduleName", getModuleName())
                .append("moduleLogo", getModuleLogo())
                .append("moduleSts", getModuleSts())
                .append("serveList", getServeList())
                .append("deptName", getDeptName())
                .toString();
    }
}
